package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcCsunGatewayBind;
import com.csun.cmny.provider.model.dto.gateway.GatewayBindDto;
import com.csun.cmny.provider.model.vo.GatewayReqVo;
import com.csun.cmny.provider.model.vo.gateway.GatewayBindVo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-12-31 15:49
 * @Description:
 */
public interface DmcCsunGatewayBindService extends IService<DmcCsunGatewayBind> {

    /**
     * query gateway bind device sensor list
     *
     * @param gatewayBindDto    the gateway bind dto
     *
     * @return  the gateway bind vo list.
     */
    List<GatewayBindVo> queryGatewayBindList(GatewayBindDto gatewayBindDto);

    /**
     * gateway bind device sensor  list
     *
     * @param gatewayBindDto    the gatewaty bind dto
     *
     * @return  the int
     */
    Integer gatewayBind(GatewayBindDto gatewayBindDto);

    /**
     * 查询传感器绑定的网关列表
     *
     * @param gatewayBindDto
     * @return
     */
    List<GatewayBindVo> queryGatewayList(GatewayBindDto gatewayBindDto);

    /*
    * 查询网关绑定的设备
    * */
    List<GatewayBindVo> listBindDevice(GatewayBindDto dto);
}
